package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"test/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/add", &controllers.TestController{}, "POST:Creat")
	beego.Router("/del", &controllers.TestController{}, "POST:Del")
	beego.Router("/list", &controllers.TestController{}, "Post:LIst")

}
